package com.example.demo.com.example.factory.companyFactory;

import com.example.demo.com.example.factory.ICompany;

public class Test {

    public static void main(String[] args) {
        ICompany company = new CompanyFactory().getCompany("zzmy");
        System.out.println(company.createTable());

        ICompany bjcCompany = new CompanyFactory().getCompany("bjc");
        System.out.println(bjcCompany.createTable());
    }
}
